Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set account alias as tag #159

Merged
merged 1 commit into from
Jul 8, 2024
Merged

feat: set account alias as tag #159

merged 1 commit into from
Jul 8, 2024

Conversation

jta
Copy link
Contributor

@jta jta commented May 29, 2024

AWS Config does not provide account alias directly. We can provide it out of band by tagging resources with the account alias which is resolved at apply time. We must piggy back on either config or configsubscription modules, since otherwise we have no resource data to extract the alias from.

We don't have much choice on what to tag, since there are very few resource types across both modules. In config, we can only tag IAM resources. In configsubscription, only eventbridge rules can be tagged.

@jta jta requested a review from a team as a code owner May 29, 2024 23:52
@jta jta requested a review from obs-gh-abhishekrao May 29, 2024 23:52
@jta jta force-pushed the joao/tag-account-alias branch from bd223ef to b3b61a4 Compare July 8, 2024 17:06
AWS Config does not provide account alias directly. We can provide it
out of band by tagging resources with the account alias which is
resolved at apply time. We must piggy back on either config or
configsubscription modules, since otherwise we have no resource data to
extract the alias from.

We don't have much choice on what to tag, since there are very few
resource types across both modules. In `config`, we can only tag IAM
resources. In `configsubscription`, only eventbridge rules can be
tagged.
@jta jta force-pushed the joao/tag-account-alias branch from b3b61a4 to 882f12f Compare July 8, 2024 17:09
@jta jta merged commit c2b5f0b into main Jul 8, 2024
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants